package ye.guo.huang.java11;

import java.util.ArrayList;
import java.util.stream.Stream;

/**
 * @Author: HUANG GY.
 * @Date: 2021/11/10 15:45
 * @Description: ye.guo.huang.java10
 */
public class Test01Var {

    public static void main(String[] args) {
        String[] arr = { "program", "creek", "is", "a", "java", "site" };
        Stream<String> stream = Stream.of(arr);
        stream.forEach(( var x) -> System.out.print(x + "\t"));


    }

}
